package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.LampFaultEntity;

/**
 * Created by ding on 2017/8/4.
 */
public class SignalLampFaultDto {
    private Integer lampFaultId;
    private Integer signalLampId;
    private Integer lampLevel;
    private String lampPhoto;
    private Integer lampType;
    private String lampReason;
    private Integer lampCreatorId;
    private String lampCreatorName;
    private String lampCreatorPhone;
    private String lampTime;
    private Integer lampCheckerId;
    private String lampCheckerName;
    private String lampCheckTime;
    private Integer lampCheck;
    private Integer lampMainCheckerId;
    private String lampMainCheckerName;
    private String lampMainCheckTime;
    private Integer lampMainCheck;
    private String lampFeedback;
    private Double lampMoney;
    private Integer lampOrgId;
    private String lampOrgName;
    private Integer lampMainOrgId;
    private String lampMainOrgName;
    private Integer lampMaintainerId;
    private String lampMaintenancePhoto;
    private String lampMaintenanceContent;
    private String lampMaintenanceExplain;
    private Integer lampMaintenanceStatus;
    private String lampMaintenanceTime;
    private String lampADeviceId;


    private String projectNumber;
    private Integer signalLampRegionId;
    private String signalLampLongitude;
    private String signalLampLatitude;
    private String signalLampProvince;
    private String signalLampCity;
    private String signalLampArea;
    private String signalLampStartRoad;
    private String signalLampEndRoad;
    private String signalLampPhoto;
    private String signalLampType;
    private String signalLampBrand;
    private String signalLampInstallTime;
    private String signalLampInstallOrg;
    private Integer signalLampPeriod;
    private Integer signalLampServiceLife;
    private String signalLampRemark;
    private Integer signalLampCreatorId;
    private String signalLampCreatorName;
    private Integer signalLampModifierId;
    private Integer signalLampIsComplete;
    private Integer signalLampMainOrgId;
    private String signalLampMainOrgName;
    private Integer signalLampOrgId;
    private String signalLampOrgName;
    private Integer reportStatus;

    public SignalLampFaultDto() {
    }

    public SignalLampFaultDto(Integer lampCheck, Integer lampMainCheck, Integer lampMaintenanceStatus) {
        this.lampCheck = lampCheck;
        this.lampMainCheck = lampMainCheck;
        this.lampMaintenanceStatus = lampMaintenanceStatus;
    }

    public SignalLampFaultDto(Integer signalLampId, String signalLampLongitude, String signalLampLatitude, String signalLampProvince, String signalLampCity, String signalLampArea, String signalLampStartRoad, String signalLampEndRoad, String signalLampPhoto, String signalLampType, String signalLampBrand, String signalLampInstallOrg, Integer signalLampCreatorId, Integer signalLampMainOrgId, Integer signalLampOrgId){
        this.signalLampId = signalLampId;
        this.signalLampLongitude = signalLampLongitude;
        this.signalLampLatitude = signalLampLatitude;
        this.signalLampProvince = signalLampProvince;
        this.signalLampCity = signalLampCity;
        this.signalLampArea = signalLampArea;
        this.signalLampStartRoad = signalLampStartRoad;
        this.signalLampEndRoad = signalLampEndRoad;
        this.signalLampPhoto = signalLampPhoto;
        this.signalLampType = signalLampType;
        this.signalLampBrand = signalLampBrand;
        this.signalLampInstallOrg = signalLampInstallOrg;
        this.signalLampCreatorId = signalLampCreatorId;
        this.signalLampMainOrgId = signalLampMainOrgId;
        this.signalLampOrgId = signalLampOrgId;
    }

    public SignalLampFaultDto(Integer lampLevel, String lampPhoto, Integer lampType, String lampReason,Integer lampCreatorId,String lampTime,Integer lampCheck,Integer lampMainCheck,String lampFeedback, Double lampMoney){
        this.lampLevel = lampLevel;
        this.lampPhoto = lampPhoto;
        this.lampType = lampType;
        this.lampReason = lampReason;
        this.lampCreatorId = lampCreatorId;
        this.lampTime = lampTime;
        this.lampCheck = lampCheck;
        this.lampMainCheck = lampMainCheck;
        this.lampFeedback = lampFeedback;
        this.lampMoney = lampMoney;
    }

    public SignalLampFaultDto(Integer signalLampId, Integer lampLevel, String lampPhoto, Integer lampType, String lampReason, String lampMainCheckTime, String lampMaintenancePhoto, String lampMaintenanceContent, String lampMaintenanceExplain, String lampMaintenanceTime, String signalLampLongitude, String signalLampLatitude, String signalLampProvince, String signalLampCity, String signalLampArea, String signalLampStartRoad, String signalLampEndRoad) {
        this.signalLampId = signalLampId;
        this.lampLevel = lampLevel;
        this.lampPhoto = lampPhoto;
        this.lampType = lampType;
        this.lampReason = lampReason;
        this.lampMainCheckTime = lampMainCheckTime;
        this.lampMaintenancePhoto = lampMaintenancePhoto;
        this.lampMaintenanceContent = lampMaintenanceContent;
        this.lampMaintenanceExplain = lampMaintenanceExplain;
        this.lampMaintenanceTime = lampMaintenanceTime;
        this.signalLampLongitude = signalLampLongitude;
        this.signalLampLatitude = signalLampLatitude;
        this.signalLampProvince = signalLampProvince;
        this.signalLampCity = signalLampCity;
        this.signalLampArea = signalLampArea;
        this.signalLampStartRoad = signalLampStartRoad;
        this.signalLampEndRoad = signalLampEndRoad;
    }

    public SignalLampFaultDto(Integer signalLampId, Integer lampLevel, String lampPhoto, Integer lampType, String lampReason, String lampMainCheckTime, String lampMaintenancePhoto, String lampMaintenanceContent, String lampMaintenanceExplain, String lampMaintenanceTime, String signalLampLongitude, String signalLampLatitude, String signalLampProvince, String signalLampCity, String signalLampArea, String signalLampStartRoad, String signalLampEndRoad,String lampFeedback) {
        this.signalLampId = signalLampId;
        this.lampLevel = lampLevel;
        this.lampPhoto = lampPhoto;
        this.lampType = lampType;
        this.lampReason = lampReason;
        this.lampMainCheckTime = lampMainCheckTime;
        this.lampMaintenancePhoto = lampMaintenancePhoto;
        this.lampMaintenanceContent = lampMaintenanceContent;
        this.lampMaintenanceExplain = lampMaintenanceExplain;
        this.lampMaintenanceTime = lampMaintenanceTime;
        this.signalLampLongitude = signalLampLongitude;
        this.signalLampLatitude = signalLampLatitude;
        this.signalLampProvince = signalLampProvince;
        this.signalLampCity = signalLampCity;
        this.signalLampArea = signalLampArea;
        this.signalLampStartRoad = signalLampStartRoad;
        this.signalLampEndRoad = signalLampEndRoad;
        this.lampFeedback = lampFeedback;
    }

    public SignalLampFaultDto(Integer signalLampId, Integer lampType, Integer lampOrgId, Integer lampMainOrgId) {
        this.signalLampId = signalLampId;
        this.lampType = lampType;
        this.lampOrgId = lampOrgId;
        this.lampMainOrgId = lampMainOrgId;
    }

    public Integer getLampFaultId() {
        return lampFaultId;
    }

    public void setLampFaultId(Integer lampFaultId) {
        this.lampFaultId = lampFaultId;
    }

    public Integer getSignalLampId() {
        return signalLampId;
    }

    public void setSignalLampId(Integer signalLampId) {
        this.signalLampId = signalLampId;
    }

    public Integer getLampLevel() {
        return lampLevel;
    }

    public void setLampLevel(Integer lampLevel) {
        this.lampLevel = lampLevel;
    }

    public String getLampPhoto() {
        return lampPhoto;
    }

    public void setLampPhoto(String lampPhoto) {
        this.lampPhoto = lampPhoto;
    }

    public Integer getLampType() {
        return lampType;
    }

    public void setLampType(Integer lampType) {
        this.lampType = lampType;
    }

    public String getLampReason() {
        return lampReason;
    }

    public void setLampReason(String lampReason) {
        this.lampReason = lampReason;
    }

    public Integer getLampCreatorId() {
        return lampCreatorId;
    }

    public void setLampCreatorId(Integer lampCreatorId) {
        this.lampCreatorId = lampCreatorId;
    }

    public String getLampCreatorName() {
        return lampCreatorName;
    }

    public void setLampCreatorName(String lampCreatorName) {
        this.lampCreatorName = lampCreatorName;
    }

    public String getLampCreatorPhone() {
        return lampCreatorPhone;
    }

    public void setLampCreatorPhone(String lampCreatorPhone) {
        this.lampCreatorPhone = lampCreatorPhone;
    }

    public String getLampTime() {
        return lampTime;
    }

    public void setLampTime(String lampTime) {
        this.lampTime = lampTime;
    }

    public Integer getLampCheckerId() {
        return lampCheckerId;
    }

    public void setLampCheckerId(Integer lampCheckerId) {
        this.lampCheckerId = lampCheckerId;
    }

    public String getLampCheckerName() {
        return lampCheckerName;
    }

    public void setLampCheckerName(String lampCheckerName) {
        this.lampCheckerName = lampCheckerName;
    }

    public String getLampCheckTime() {
        return lampCheckTime;
    }

    public void setLampCheckTime(String lampCheckTime) {
        this.lampCheckTime = lampCheckTime;
    }

    public Integer getLampCheck() {
        return lampCheck;
    }

    public void setLampCheck(Integer lampCheck) {
        this.lampCheck = lampCheck;
    }

    public Integer getLampMainCheckerId() {
        return lampMainCheckerId;
    }

    public void setLampMainCheckerId(Integer lampMainCheckerId) {
        this.lampMainCheckerId = lampMainCheckerId;
    }

    public String getLampMainCheckerName() {
        return lampMainCheckerName;
    }

    public void setLampMainCheckerName(String lampMainCheckerName) {
        this.lampMainCheckerName = lampMainCheckerName;
    }

    public String getLampMainCheckTime() {
        return lampMainCheckTime;
    }

    public void setLampMainCheckTime(String lampMainCheckTime) {
        this.lampMainCheckTime = lampMainCheckTime;
    }

    public Integer getLampMainCheck() {
        return lampMainCheck;
    }

    public void setLampMainCheck(Integer lampMainCheck) {
        this.lampMainCheck = lampMainCheck;
    }

    public String getLampFeedback() {
        return lampFeedback;
    }

    public void setLampFeedback(String lampFeedback) {
        this.lampFeedback = lampFeedback;
    }

    public Double getLampMoney() {
        return lampMoney;
    }

    public void setLampMoney(Double lampMoney) {
        this.lampMoney = lampMoney;
    }

    public Integer getLampOrgId() {
        return lampOrgId;
    }

    public void setLampOrgId(Integer lampOrgId) {
        this.lampOrgId = lampOrgId;
    }

    public String getLampOrgName() {
        return lampOrgName;
    }

    public void setLampOrgName(String lampOrgName) {
        this.lampOrgName = lampOrgName;
    }

    public Integer getLampMainOrgId() {
        return lampMainOrgId;
    }

    public void setLampMainOrgId(Integer lampMainOrgId) {
        this.lampMainOrgId = lampMainOrgId;
    }

    public String getLampMainOrgName() {
        return lampMainOrgName;
    }

    public void setLampMainOrgName(String lampMainOrgName) {
        this.lampMainOrgName = lampMainOrgName;
    }

    public Integer getLampMaintainerId() {
        return lampMaintainerId;
    }

    public void setLampMaintainerId(Integer lampMaintainerId) {
        this.lampMaintainerId = lampMaintainerId;
    }

    public String getLampMaintenancePhoto() {
        return lampMaintenancePhoto;
    }

    public void setLampMaintenancePhoto(String lampMaintenancePhoto) {
        this.lampMaintenancePhoto = lampMaintenancePhoto;
    }

    public String getLampMaintenanceContent() {
        return lampMaintenanceContent;
    }

    public void setLampMaintenanceContent(String lampMaintenanceContent) {
        this.lampMaintenanceContent = lampMaintenanceContent;
    }

    public String getLampMaintenanceExplain() {
        return lampMaintenanceExplain;
    }

    public void setLampMaintenanceExplain(String lampMaintenanceExplain) {
        this.lampMaintenanceExplain = lampMaintenanceExplain;
    }

    public Integer getLampMaintenanceStatus() {
        return lampMaintenanceStatus;
    }

    public void setLampMaintenanceStatus(Integer lampMaintenanceStatus) {
        this.lampMaintenanceStatus = lampMaintenanceStatus;
    }

    public String getLampMaintenanceTime() {
        return lampMaintenanceTime;
    }

    public void setLampMaintenanceTime(String lampMaintenanceTime) {
        this.lampMaintenanceTime = lampMaintenanceTime;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public Integer getSignalLampRegionId() {
        return signalLampRegionId;
    }

    public void setSignalLampRegionId(Integer signalLampRegionId) {
        this.signalLampRegionId = signalLampRegionId;
    }

    public String getSignalLampLongitude() {
        return signalLampLongitude;
    }

    public void setSignalLampLongitude(String signalLampLongitude) {
        this.signalLampLongitude = signalLampLongitude;
    }

    public String getSignalLampLatitude() {
        return signalLampLatitude;
    }

    public void setSignalLampLatitude(String signalLampLatitude) {
        this.signalLampLatitude = signalLampLatitude;
    }

    public String getSignalLampProvince() {
        return signalLampProvince;
    }

    public void setSignalLampProvince(String signalLampProvince) {
        this.signalLampProvince = signalLampProvince;
    }

    public String getSignalLampCity() {
        return signalLampCity;
    }

    public void setSignalLampCity(String signalLampCity) {
        this.signalLampCity = signalLampCity;
    }

    public String getSignalLampArea() {
        return signalLampArea;
    }

    public void setSignalLampArea(String signalLampArea) {
        this.signalLampArea = signalLampArea;
    }

    public String getSignalLampStartRoad() {
        return signalLampStartRoad;
    }

    public void setSignalLampStartRoad(String signalLampStartRoad) {
        this.signalLampStartRoad = signalLampStartRoad;
    }

    public String getSignalLampEndRoad() {
        return signalLampEndRoad;
    }

    public void setSignalLampEndRoad(String signalLampEndRoad) {
        this.signalLampEndRoad = signalLampEndRoad;
    }

    public String getSignalLampPhoto() {
        return signalLampPhoto;
    }

    public void setSignalLampPhoto(String signalLampPhoto) {
        this.signalLampPhoto = signalLampPhoto;
    }

    public String getSignalLampType() {
        return signalLampType;
    }

    public void setSignalLampType(String signalLampType) {
        this.signalLampType = signalLampType;
    }

    public String getSignalLampBrand() {
        return signalLampBrand;
    }

    public void setSignalLampBrand(String signalLampBrand) {
        this.signalLampBrand = signalLampBrand;
    }

    public String getSignalLampInstallTime() {
        return signalLampInstallTime;
    }

    public void setSignalLampInstallTime(String signalLampInstallTime) {
        this.signalLampInstallTime = signalLampInstallTime;
    }

    public String getSignalLampInstallOrg() {
        return signalLampInstallOrg;
    }

    public void setSignalLampInstallOrg(String signalLampInstallOrg) {
        this.signalLampInstallOrg = signalLampInstallOrg;
    }

    public Integer getSignalLampPeriod() {
        return signalLampPeriod;
    }

    public void setSignalLampPeriod(Integer signalLampPeriod) {
        this.signalLampPeriod = signalLampPeriod;
    }

    public Integer getSignalLampServiceLife() {
        return signalLampServiceLife;
    }

    public void setSignalLampServiceLife(Integer signalLampServiceLife) {
        this.signalLampServiceLife = signalLampServiceLife;
    }

    public String getSignalLampRemark() {
        return signalLampRemark;
    }

    public void setSignalLampRemark(String signalLampRemark) {
        this.signalLampRemark = signalLampRemark;
    }

    public Integer getSignalLampCreatorId() {
        return signalLampCreatorId;
    }

    public void setSignalLampCreatorId(Integer signalLampCreatorId) {
        this.signalLampCreatorId = signalLampCreatorId;
    }

    public String getSignalLampCreatorName() {
        return signalLampCreatorName;
    }

    public void setSignalLampCreatorName(String signalLampCreatorName) {
        this.signalLampCreatorName = signalLampCreatorName;
    }

    public Integer getSignalLampModifierId() {
        return signalLampModifierId;
    }

    public void setSignalLampModifierId(Integer signalLampModifierId) {
        this.signalLampModifierId = signalLampModifierId;
    }

    public Integer getSignalLampIsComplete() {
        return signalLampIsComplete;
    }

    public void setSignalLampIsComplete(Integer signalLampIsComplete) {
        this.signalLampIsComplete = signalLampIsComplete;
    }

    public Integer getSignalLampMainOrgId() {
        return signalLampMainOrgId;
    }

    public void setSignalLampMainOrgId(Integer signalLampMainOrgId) {
        this.signalLampMainOrgId = signalLampMainOrgId;
    }

    public String getSignalLampMainOrgName() {
        return signalLampMainOrgName;
    }

    public void setSignalLampMainOrgName(String signalLampMainOrgName) {
        this.signalLampMainOrgName = signalLampMainOrgName;
    }

    public Integer getSignalLampOrgId() {
        return signalLampOrgId;
    }

    public void setSignalLampOrgId(Integer signalLampOrgId) {
        this.signalLampOrgId = signalLampOrgId;
    }

    public String getSignalLampOrgName() {
        return signalLampOrgName;
    }

    public void setSignalLampOrgName(String signalLampOrgName) {
        this.signalLampOrgName = signalLampOrgName;
    }

    public Integer getReportStatus() {
        return reportStatus;
    }

    public void setReportStatus(Integer reportStatus) {
        this.reportStatus = reportStatus;
    }

    public String getLampADeviceId() {
        return lampADeviceId;
    }

    public void setLampADeviceId(String lampADeviceId) {
        this.lampADeviceId = lampADeviceId;
    }

    public LampFaultEntity toBean() {
        LampFaultEntity lampFaultEntity = new LampFaultEntity();
        lampFaultEntity.setLampReason(lampReason);
        lampFaultEntity.setLampType(lampType);
        lampFaultEntity.setLampPhoto(lampPhoto);
        lampFaultEntity.setLampLevel(lampLevel);
        lampFaultEntity.setLampOrgId(lampOrgId);
        lampFaultEntity.setLampCheck(0);
        lampFaultEntity.setLampMainOrgId(lampMainOrgId);
        lampFaultEntity.setLampMainCheck(0);
        lampFaultEntity.setSignalLampId(signalLampId);
        lampFaultEntity.setLampCreatorId(lampCreatorId);
        lampFaultEntity.setLampTime(lampTime);
        lampFaultEntity.setLampMoney(lampMoney);
        lampFaultEntity.setLampMaintenanceStatus(0);
        lampFaultEntity.setLampADeviceId(lampADeviceId);
        return lampFaultEntity;
    }

}
